function delayData(data, time) {
    return new Promise((resolve, reject) => {
        setTimeout(() => {
            resolve(data);
        }, time);
    })
}
module.exports = app => ({
    async getUser() {

        let userInfo = await delayData({ name: '用户1', age: 18 });

        return userInfo;
    }
});